package com.prs.crm.dao.receipt.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.receipt.ReceiptPointDao;
import com.prs.crm.domain.receipt.ReceiptPoint;

public class ReceiptPointDaoImpl extends BaseDaoImpl<ReceiptPoint> implements ReceiptPointDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<ReceiptPoint> getAllReceiptPoint() {
		Criteria criteria=this.getSession().createCriteria(ReceiptPoint.class);
		return criteria.list();
	}

}
